
<script>
import requst from '@/src/utils/requst.js';
import wxAuth from '@/src/utils/wxAuth.js';
	export default {
		data() {
			return {
				wxOpenid: ''
			}
		},
		onLaunch: function() {
			console.log('App Launch')
			// wxAuth().then(openid => {
			// 	this.wxOpenid = openid
				
			// });
		},
		onShow: function() {
			console.log('App Show')
			requst.get('/test.json').then(res=> {
				console.error(res, '请求结果')
			})
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style scoped lang="scss">
	/*每个页面公共css */
	::v-deep .uni-page-head__title {
		font-weight: 400;
	}
</style>
